package com.zhongketech.sunflower.adapter;

import android.R.integer;

import com.zhongketech.sunflower.domain.User;

public class ZKContact extends User {

	public ZKContact(String name, String nick,Object avatar) {
		
		setUsername(name);
		setNick(nick);
		
		if(null == avatar)
		{
			return;
		}
		
		if(avatar instanceof String)
		{
			avatarPath = (String) avatar;
		}
		else if(avatar instanceof Integer)
		{
			avatarID = (Integer) avatar;
		}
	}
	
}
